package com.boss.controller;

import com.alibaba.fastjson.JSON;
//import com.boss.entity.BossAdmin;
import com.boss.service.BossAdminService;
import com.fasterxml.jackson.databind.util.JSONPObject;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
public class BossAdminController {
//    @Autowired
//    private BossAdminService bossAdminService;
//
//    @RequestMapping("/login")
//    public String login(){
//        List<BossAdmin> list =  bossAdminService.getBossAdmin();
//        String json =  JSON.toJSONString(list);
//
//        return  json;
//    }
}
